
 clear
 direct=('\ data base directory \');
 filename = 'A_SRC_20181016_182537.mrs1.fig';
    

 file_name=[direct filename];
    
A_gcf=openfig(file_name);
axesObjs = get(A_gcf, 'Children');
dataObjs = get(axesObjs(2), 'Children');
Xdata=dataObjs.XData;
Ydata=dataObjs.YData;
Cdata=dataObjs.CData;
